Importing Steps to a VoiceForm
The Import Steps function in the user interface enables you to import steps from a VoiceForm for the system.
Use the Export Steps feature to create a json file containing steps that can be imported.
Import Steps
- On the VoiceForm Editor tab, select the VoiceForm from the drop-down menu in the navigation pane.
- Click the Import step(s) in the navigation link.
- To import steps, click Import step(s) and navigate to the location where the steps .json file is located. Alternatively, drag and drop the .json file into the upload section.
Validations for Import Step(s):
- If step ID already exists in the VoiceCheck server, then the step is not imported.
- If the step.json file includes multiple steps (with few stesp existing in the server and remaining being new steps), only the new stesp are imported, and a notification message indicating that the existing steps were not imported into the server is displayed.
- The step is not imported if the .json file doesn't have the mandatory fields, like description, prompt and prompt type.
It is assumed that fields for the Steps is same across VoiceCheck servers used by the customer.
Validations:
- Prompt Templates: If a Prompt template with the same name exists, then reject the import of the prompt template. Else, import the prompt template included in the steps.json file. Prompt Template should be added on the Prompt Templates page.
- Conditions: If a condition with the same name exists with a different condition value, create a duplicate condition with same name. However, if the condition value also matches with the existing condition, then reject the condition and use the existing condition. If the condition with the same name exists with different condition value, then reject the condition and use the existing condition.
- Images: Import the step with the details of the image location. Image will not be imported along with the step. If the image does not exist at the specified location, then a broken image is displayed on the server.
- Translations: Import translations for step description and step prompt in all the supported languages.
- ListItems: If a ListItem with the same name exists, then reject the import of list item. Else, import the list item included in the steps.json file. ListItem should be added on the ListItems page.